package com.rt.tmpt.dao.generic;

import com.googlecode.genericdao.dao.hibernate.original.GenericDAOImpl;
import org.hibernate.SessionFactory;

import javax.annotation.Resource;
import java.io.Serializable;

public class BaseDao<T, ID extends Serializable> extends GenericDAOImpl<T, ID> {

	@Resource(name = "sessionFactory")
	public void setSessionFactory(SessionFactory sessionFactory) {
		super.setSessionFactory(sessionFactory);
	}

}
